Skip to content

docs: link to @std/fs exists from file-existence example#3054

Open
nielskaspers wants to merge 1 commit intodenoland:mainfrom
nielskaspers:docs/3052-link-std-fs-checking-file-existence
Open

docs: link to @std/fs exists from file-existence example#3054
nielskaspers wants to merge 1 commit intodenoland:mainfrom
nielskaspers:docs/3052-link-std-fs-checking-file-existence

Conversation

@nielskaspers
Copy link
Copy Markdown

Summary

Adds reference links to @std/fs exists and Deno.lstat in the "Checking for file existence" example, matching the @resource pattern used by other file-system examples (e.g. walking_directories.ts).

Issue

Fixes #3052

Changes

  • examples/scripts/checking_file_existence.ts — add two @resource entries pointing at jsr.io/@std/fs/doc/exists/~ and docs.deno.com/api/deno/~/Deno.lstat, matching the APIs the example already imports/uses.

Testing

  • Docs-only change, no runtime code modified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feedback: /examples/checking_file_existence/ - Needs Improvement

1 participant